#ifndef _BUTTONS_H_
#define _BUTTONS_H_

typedef enum{
	eButtons_OnOff,

}eButtons;

#define	PORT_SENSOR	  2
#define	SENSOR_1	(1<<1)
#define	SENSOR_2	(1<<2)
#define	SENSOR_3	(1<<3)
#define	SENSOR_4	(1<<4)
#define	SENSOR_5	(1<<5)
#define	SENSOR_6	(1<<6)


#define PORTBUTTON_ONOFF  PORT_SENSOR
#define BUTTON_ONOFF	  SENSOR_3

#define BUTTON_ONOFF	  SENSOR_3


void buttons_init (void);
void buttons_isr (void);
uint8_t  buttons_read (uint8_t button);

extern volatile uint8_t gButtonOnOff;// estado do botao de liga e desliga

#endif
